package edu.scau.cxq.gp.mapper;

import edu.scau.cxq.gp.entity.dto.CustomerSignDTO;
import edu.scau.cxq.gp.entity.Customer;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @description 存储客户信息 Mapper 接口
 * @return
 * @author TLC
 */

public interface CustomerMapper extends BaseMapper<Customer> {

    /**
     * @description 查找特定客户的签名
     * @return java.lang.String
     * @author TLC
     */

    String selectSignOfCustomer(@Param("cusId") Long cusId);

   /**
    * @description 获取所有的客户标签
    * @return java.util.List<edu.scau.cxq.gp.entity.dto.CustomerSignDTO>
    * @author TLC
    */

   List<CustomerSignDTO> selectAllSignOfCustomer();
}
